The structures described in the question are said to be homologous. The limbs of many vertebrates, including humans, show an arrangement of bones called the pentadactyl pattern, and the presence of this structure suggests all the vertebrates possessing it have a common ancestor. The various descendents of this common ancestor evolved in different ways and developed specific limb modifications.